import 'package:flutter_crud_test_amir_rabbani/peresenter/crud/binding/crud_binding.dart';
import 'package:flutter_crud_test_amir_rabbani/peresenter/crud/controller/crud_controller.dart';
import 'package:flutter_crud_test_amir_rabbani/peresenter/crud/pages/add_customer_page.dart';
import 'package:flutter_crud_test_amir_rabbani/peresenter/crud/pages/show_customer_page.dart';
import 'package:get/get.dart';

part 'app_routes.dart';

class AppPages {
  static const INITIAL = Routes.SHOW_CUSTOMER;

  static final routes = [
    GetPage(
      name: Routes.SHOW_CUSTOMER,
      page: () => ShowCustomerPage(),
      binding: CrudBinding(),
    ),
    GetPage(
      name: Routes.ADD_CUSTOMER,
      page: () => AddCustomerPage(),
      binding: CrudBinding(),
    ),
  ];
}
